package common;

import java.util.ArrayList;
import java.util.Comparator;

public class LinkListComparatorByFrom implements Comparator<ArrayList<Link>> {

	@Override
	public int compare(ArrayList<Link> list1, ArrayList<Link> list2) {
		return list1.get(0).from.compareTo(list2.get(0).from);
	}

}